<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"   import="com.tz.hospital.entity.*, java.util.List "%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<!-- 引入 layui.css -->
<link rel="stylesheet" href="/hospital_system/layui-v2.6.8/layui/css/layui.css"/>
<!-- 引入 layui.js -->
<script src="/hospital_system/layui-v2.6.8/layui/layui.js"></script>

<style type="text/css">
.ks{

margin-top: 20px;
margin-left: 150px;
}
.ys{

margin-top: -325px;
margin-left: 650px;
}
table tbody {

display:block;

height:315px;

overflow-y:scroll;

-webkit-overflow-scrolling: touch; // 为了滚动顺畅

}

table tbody::-webkit-scrollbar {

display: none; 

}

table thead, tbody tr {

display:table;

width:450px;

table-layout:fixed;

}

table thead {

width: calc( 100% - 1em )

}
.s{
            font-style: italic;
            font-weight: 700;
            font-size: 32px;
            font-family:"微软雅黑";  
            
			margin-left: 150px;       
        }


</style>
</head>
<body>
<div class="layui-row layui-col-space15">
  <div class="layui-col-md6">
    <div class="layui-panel layui-bg-green" >
      <div style="padding: 30px;"><i class="layui-icon" style="font-size: 120px";>&#xe68f;</i> <div class="s">今日出诊医生：<%=request.getAttribute("jtwork") %>位</div></div>
    </div>   
  </div>
  <div class="layui-col-md6">
    <div class="layui-panel layui-bg-green">
      <div style="padding: 30px;"><i class="layui-icon" style="font-size: 120px";>&#xe770;</i> <div class="s">门诊总人数：<%=request.getAttribute("countys") %>位</div></div>
    </div>   
  </div>
</div>    



 <table class="layui-table ks"  style="background-color:transparent; border:0px; ">
       
       
       <tbody>
       <% List<hospital_class> l =(List) request.getAttribute("date"); %>
        <% if (l!=null){ %>
      <%  for(hospital_class e:l){ %>
        	  <tr>
        	  <td><%=e.getKsname() %></td>
        	  
        	  <td><button onclick="location.href='/hospital_system/tjdoctorController?ksid=<%=e.getKsid() %>'">详情</button></td>
        	  
        	  </tr>
        	  
        	  
         <% } %>
         <% } %>
       </tbody>
       
       
     </table>
     
     
     <table class="layui-table ys"  style="background-color:transparent; border:0px; ">
       
       
       <tbody>
       <% List<hospital_doctor> l1 =(List) request.getAttribute("doct"); %>
        <% if (l!=null){ %>
      <%  for(hospital_doctor e:l1){ %>
        	  <tr>
        	  <td><%=e.getYsname() %></td>
        	  <td><%if(e.getYslevel()==1){%>
        	      专家
        	      <%}else if(e.getYslevel()==0){ %>
        	      普通
        	      <%} %>
        	  </td>
        	  
        	  
        	  <td><button onclick="location.href='/12_tanzhen_carrental/idController?cid=<%=e.getKsid() %>'">预约</button></td>
        	  
        	  </tr>
        	  
        	  
         <% } %>
         <% } %>
       </tbody>
       
       
     </table>
</body>
</html>